package com.ruoyi.project.wenyanwen.sentence.service;

import com.ruoyi.project.wenyanwen.sentence.domain.Sentence;
import java.util.List;

/**
 * 诗词名句Service接口
 * 
 * @author shixiangwen
 * @date 2020-08-05
 */
public interface ISentenceService 
{
    /**
     * 查询诗词名句
     * 
     * @param id 诗词名句ID
     * @return 诗词名句
     */
    public Sentence selectSentenceById(Long id);

    /**
     * 查询诗词名句列表
     * 
     * @param sentence 诗词名句
     * @return 诗词名句集合
     */
    public List<Sentence> selectSentenceList(Sentence sentence);

    /**
     * 新增诗词名句
     * 
     * @param sentence 诗词名句
     * @return 结果
     */
    public int insertSentence(Sentence sentence);

    /**
     * 修改诗词名句
     * 
     * @param sentence 诗词名句
     * @return 结果
     */
    public int updateSentence(Sentence sentence);

    /**
     * 批量删除诗词名句
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSentenceByIds(String ids);

    /**
     * 删除诗词名句信息
     * 
     * @param id 诗词名句ID
     * @return 结果
     */
    public int deleteSentenceById(Long id);
}
